home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
pict104.zip
/
PICTDOR.CTL
< prev
next >
Wrap
Text File
|
1991-04-15
|
6KB
|
137 lines
;
; This is an example file. When you taylor this file to the way you want
; it you should also remove these comments. Reading through the comments
; will cause PICTDOR to start slower.
;
;Area table follows. Each area must be listed one per line, in the order
;you wish them to be displayed. Here is a listing of the parameters that
;must be present on the line:
;
;Num: This field is used to specify the number that will be assigned to the
; area. Each area must be assigned a different number. The area number
; allows to select which areas pictures is to be displayed.
;
; If only one area is defined, the user will be placed in that area and
; will not be presented with a selection list.
;
;Area Path: This is the drive and path to the subdirectory that contains the
; files to be displayed to the user. This subdirectory must also
; contain the directory file.
;
;Dir File: This entry contains the name of the file that contains each file
; name and it's description. The format of the directory file is
; the same as Files.BBS that is used by so many BBS's. If this
; entry is not specified it will default to Files.BBS.
;
; You may also specify a drive and path with the Dir file should
; it not be located in the same directory as the screens. This
; would be most useful for systems like RBBS which keeps their
; Dir files separate from the actual file directory.
;
AREATABLE
;Num Area Path <drive/Path>Dir File
;--- ----------------------- --------------------
1 .\ Files.BBS
EndAreaTable
;
;
DESCTABLE
;
; PictDor will use this description if a DIR.BBS dosen't exist in the
; specified Area Path. You can place ANSI escape sequences in the
; DIR.BBS file.
;
1 This is a test area
EndDescTable
;
; Here is where the Welcome Screen Name Goes. Be sure to leave off
; the extension. If you don't want an Opening Screen, just comment
; out this statement.
;
WELCOME PICTDOR
;
; The INCLUDE & EXCLUDE statements are used to either select or reject
; the files to be displayed in the user list. The inclusion or exclusion
; is based on the file extension. There may be multiple INCLUDE / EXCLUDE
; statements.
;
; For example, if you only wanted the selection list to display files that
; end with ANS you would use the statement:
;
; INCLUDE .ANS
;
; If you wanted to prevent ZIP files from being included in the list you
; would use the statement:
;
; EXCLUDE .ZIP
;
; INCLUDE and EXCLUDE statements may contain multiple file extensions.
; For example:
;
; EXCLUDE .ZIP .ARC .LZH .PAK
;
; would exclude ZIP, ARC, LZH, and PAK files from the list. You can also
; have multiple INCLUDE or multiple EXCLUDE statements. The number if
; extensions which may be included or excluded is in the hundreds. The
; period in front of the extension is required.
;
; Also, don't use both an INCLUDE and an EXCLUDE statement in the same
; control file. Also, the INCLUDE or EXCLUDE is active in all areas.
;
;INCLUDE .ANS .BBS .ASC
;EXCLUDE .ZIP .ARC .LZH .PAK
;EXCLUDE .Z01 .Z02 .Z03 .Z04 .Z05 .Z06 .Z07 .Z08 .Z09 .Z10
;EXCLUDE .Z11 .Z12 .Z13 .Z14 .Z15 .Z16 .Z17 .Z18 .Z19 .Z20
;EXCLUDE .Z21 .Z22 .Z23 .Z24 .Z25 .Z26 .Z27 .Z28 .Z29 .Z30
;EXCLUDE .Z31 .Z32 .Z33 .Z34 .Z35 .Z36 .Z37 .Z38 .Z39 .Z40
;
; -- Keep this line here or bad things will happen
;
;--------------------------------------------------------------------------
; The following section is used to view arc/pak/zip/lzh files. Be sure
; you DON'T EXCLUDE the file extensions used here. If you do the user
; won't be able to see the .ZIP (or whatever) files to unarchive them.
;
;ARCHIVEDIR <drive:\path>
;
; The ARCHIVEDIR statement is required if you want to have PICTDOR unarchive
; files for the user to see. This statement points to a temporary directory
; that is used by PICTDOR to hold the extracted files. Be sure that the
; directory you specify with this command is used only by PICTDOR. IT
; MUST NOT CONTAIN ANY FILES. When PICTDOR starts to unarchive a file it
; will erase all files in the specified directory.
;
;UNPACKER ZIP Pkunzip %1 %2 *.*
;UNPACKER LZH Lharc e %1 %2\ *.*
;
; The UNPACKER command tells PICTDOR how to call the unarchiver program.
; You can have as many UNPACKER commands as you need.
;
; The first part of the command (ZIP or LZH in the example above) tells
; PICTDOR the "name" you will use in the USEUNPACKER statements to refer
; to the UNPACKER command. This "name" can be up to 30 characters long.
;
; Everything that follows the name is the actual unarchiving command.
; The command is passed exactly as written to COMMAND.COM to be run. In
; the command the %1 will be replaced by the name of the archive. This
; will include the drive and path. The %2 will be replaced by the
; ARCHIVEDIR specified above. The passed directory name will NOT have a
; trailing backslash (even if you put one on the line).
;
;USEUNPACKER ZIP .ZIP .Z01 .Z02 .Z03 .Z04
;USEUNPACKER LZH .LZH
;
; The USEUNPACKER command tells PICTDOR which UNPACKER line to use based
; on the extension of the file to be displayed. You can have as many
; USEUNPACKER commands as you need. You can also have multiple USEUNPACKER
; commands that specify the same UNPACKER name (like multiple ZIP lines).
;
; The first part of the command (ZIP or LZH in the examples above) tells
; PICTDOR which named UNPACKER command to use.
;
; Everything that follows the name are the extensions that will use the
; unpacker. You can specify as many extensions as will fit on a line 255
; character line. The leading period in front of the extension is required.
;
End of Script